package com.kingsoft.miot.bridge.controller.resp;

import java.util.Map;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 房间请求结果
 * 
 * @author melody
 *
 */
public class HouseInfoResp {

	// 房间id
	@NotEmpty
	private int id;
	// 单元名称 由酒店管理者添加
	@NotEmpty
	private int room_num;
	// 控制 id
	@NotEmpty
	private long control_id;
	// 户 楼层高度
	private int floors_total_num;
	// 户设备数
	private int devices_total_num;
	// 户在线设备数
	private int devices_online_num;
	// 当前房间用户手机号码
	private int user;
	// 房间状态
	private Map<String, Object> status;
	// 当前用户控制次数
	private int control_times;
	// 历史用户控制次数
	private int control_history_times;
	// 上次登录时间
	private long last_login_time;
	// 历史操作次数
	private long last_operate_time;

	public long getLast_login_time() {
		return last_login_time;
	}

	public void setLast_login_time(long last_login_time) {
		this.last_login_time = last_login_time;
	}

	public long getLast_operate_time() {
		return last_operate_time;
	}

	public void setLast_operate_time(long last_operate_time) {
		this.last_operate_time = last_operate_time;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getRoom_num() {
		return room_num;
	}

	public void setRoom_num(int room_num) {
		this.room_num = room_num;
	}

	public long getControl_id() {
		return control_id;
	}

	public void setControl_id(long control_id) {
		this.control_id = control_id;
	}

	public int getFloors_total_num() {
		return floors_total_num;
	}

	public void setFloors_total_num(int floors_total_num) {
		this.floors_total_num = floors_total_num;
	}

	public int getDevices_total_num() {
		return devices_total_num;
	}

	public void setDevices_total_num(int devices_total_num) {
		this.devices_total_num = devices_total_num;
	}

	public int getDevices_online_num() {
		return devices_online_num;
	}

	public void setDevices_online_num(int devices_online_num) {
		this.devices_online_num = devices_online_num;
	}

	public int getUser() {
		return user;
	}

	public void setUser(int user) {
		this.user = user;
	}

	public Map<String, Object> getStatus() {
		return status;
	}

	public void setStatus(Map<String, Object> status) {
		this.status = status;
	}

	public int getControl_times() {
		return control_times;
	}

	public void setControl_times(int control_times) {
		this.control_times = control_times;
	}

	public int getControl_history_times() {
		return control_history_times;
	}

	public void setControl_history_times(int control_history_times) {
		this.control_history_times = control_history_times;
	}

}
